Magnetic disc control apparatus with parallel data transfer between disc control unit and encoder circuit

ABSTRACT

A magnetic disc apparatus is a parallel recording type magnetic storage apparatus employing a dedicated servo system, wherein one of a plurality of data recording surfaces is used as a servo surface, the remaining even surfaces are used as ordinary recording surfaces, and the remaining one recording surface is used as a data recording surface which serves as a spare track or a spare sector when a defective track or a defective sector occurs. Since a microprocessor recognizes a defective track or a defective sector before writing data, if a defective track or a defective sector is produced, a normal track or sector is coupled with a spare track or a spare sector when a defective track or a defective sector is produced, and thereafter data is written into the magnetic storage apparatus.

BACKGROUND OF THE INVENTION

[0001] The present invention relates to a magnetic disc apparatus for use in information processing apparatus such as a computer, and more particularly, to a magnetic disc apparatus including an LSI for magnetic disc apparatus which is capable of performing high speed read and write operations by parallelly reading and writing data from and into the magnetic disc apparatus, as well as effectively utilizing recording surfaces of magnetic discs by selecting a spare track or a spare sector in place of a defective track or a defective sector on the magnetic disc.

[0002] There has been a conventional magnetic disc apparatus known as a parallel read and write type, as described in Japanese Patent Application Laid-open Publication No. 61-145767, which divides data belonging to a single sector on a data recording surface to simultaneously record the divided data in parallel, and simultaneously reads data recorded on respective data recording surfaces in parallel and synthesizes the same to data in sector units to thereby increase a data transfer speed.

[0003] As a counterpart of the above-mentioned parallel read and write type magnetic disc apparatus, there is a serial read and write type magnetic disc apparatus whose internal structure is shown in a block diagram of FIG. 17.

[0004] In FIG. 17, reference numeral 1 designates a host computer, 2 a magnetic disc apparatus, 3 a host interface control unit, 4 a buffer memory, 5 a disc control unit, 6 a microprocessor, 8 a recording and reproducing unit, 9 an encoder/decoder circuit, 11 a head circuit, 14 a parallel interface.

[0005] When a parallel data of, for example, eight bits is supplied from the host computer 1 through the parallel interface 14, the parallel data is delivered in the magnetic disc apparatus 2 from the host interface control unit 3 to the disc control unit 5 where the parallel data is parallel-to-serial converted. The serially converted data is written one bit by one bit on a recording surface of a magnetic disc, not shown, through the encoder/decoder circuit 9 by the head circuit 11 as serial data. On the other hand, data serially read one bit by one bit is delivered through the encoder/decoder circuit 9 to the disc control unit 5. The disc control unit 5 converts the serial data to a parallel form, and this parallel data is transferred to the host computer 1 through the host interface control unit 3 and the parallel interface 14.

[0006]FIG. 8 is a block diagram showing the disc control unit 5 as shown in FIG. 17 in detail.

[0007] In FIG. 18, reference numeral 24 designates a MPU (microprocessor unit) interface unit, 25 a host interface control unit, 7 a serial/parallel conversion unit, 27 a drive control unit, and 28 an ECC unit for detecting and correcting data errors. It will be appreciated that a serial data transmission path is established by data transmission paths from the serial/parallel conversion unit 7 to the drive control unit 27 and the ECC unit, and from the drive control unit 27 to the encoder/decoder unit 9 and thereafter.

[0008]FIG. 19 is a block diagram showing an internal structure of a conventional parallel read and write type magnetic disc apparatus. A magnetic disc apparatus 2 shown in this drawing comprises a plurality of disc-shaped recording surfaces constituting a single cylinder and read and write heads respectively corresponding to the respective recording surfaces, as shown in FIG. 20. When a disc control unit 5 receives m-bit parallel data from a host computer 1, the parallel data is divided into two data train respectively comprising (m/2)-bit parallel data which are separately parallel-to-serial converted by a serial/parallel conversion unit 7. The two serial bit train outputted as the results are encoded by the encoder/decoder circuit 9, and then they are assigned to two heads selected from a plurality of heads (by a head circuit 11). These two data train is parallelly written on two disc-shaped recording surfaces corresponding to the selected two heads. On the other hand, when data is read from recording surfaces, two data trains are parallelly read from two disc-shaped recording surfaces corresponding to two heads. The read data sequences are decoded, serial-to-parallel converted, and then integrated to a m-bit parallel data by the disc control unit 5 and outputted to the host computer 1.

[0009]FIG. 20 is a lateral view showing a structure of a magnetic disc apparatus.

[0010] In this drawing, five recording discs 51 are concentrically supported to constitute a cylinder, wherein the upper surface and the lower surface of each disc respectively constitute recording surfaces. Specifically, the upper surface and the lower surface of the respective five recording discs 51 are utilized as recording surfaces, so that there are totally ten recording surfaces which correspond to a servo surface 52 and first to ninth data recording surfaces 53-1 to 53-9. Also, ten heads H are provided for the respective recording surfaces so as to be associated with one another.

[0011]FIG. 21 is a block daigram showing a circuit arrangement of the recording and reproducing unit 8 of the conventional magnetic disc apparatus shown in FIG. 19 in a data write operation.

[0012] In FIG. 21, the encoder/decoder unit 9 is shown as comprising n encoder circuits 16 while the head circuit 11 n head amplifiers 17 and n heads 18 upon writing data. If 2-bit parallel data is to be written, n is naturally 2. Reference numeral 15 designates a write clock generation circuit, 19 an NRZ (Non-Return to Zero) signal.

[0013]FIG. 22 is a block daigram showing a circuit arrangement of the recording and reproducing unit 8 of the conventional disc apparatus shown in FIG. 19 when data is read.

[0014] In FIG. 22, the encoder/decoder unit 9 is shown as comprising n decoder circuits 22 and n waveform shaper circuits 23, and the head circuit 11 n head amplifiers 17 and n head 18, upon reading data. However, as mentioned above, if 2-bit parallel data is to be read, n is naturally 2. Reference numeral 21 designates a phase synchronization circuit.

[0015] The above-mentioned prior art is useful in achieving a high speed data transfer by performing parallel write and read operations, however, it does not consider a combination of data recording surfaces on which data divided from parallel data are to be stored, which results in always providing fixed combinations of the recording surfaces for a simultaneous read or write operation. For this reason, the prior art implies problems in a decrease of a storage capacity due to defective recording surfaces, which is remarkably important in a parallel read and write operation, and a deterioration in a data transfer speed caused by reassignment of spare tracks and spare sectors in place of defective tracks and defective sectors.

[0016] For example, as shown in the previously explained FIG. 20, in the magnetic disc apparatus of a dedicated servo system or a servo system using a servo surface employing five discs 51, assuming that a two-bit parallel recording is performed where parallel data transferred from the host computer 1 is divided into two data trains, and a write or read operation of the two data trains is simultaneously carried out by the use of two data recording surfaces.

[0017] As shown in FIG. 20, nine out of ten recording surfaces are used as data recording surfaces (data recording surfaces 53-1 to 53-9). Therefore, if two surfaces are fixedly combined to be one unit for the two-bit parallel recording, one data recording surface inevitably remains unused and cannot be utilized for reading and writing data.

[0018] If the recording surfaces for the two-bit parallel recording are made by combinations of the data recording surfaces 53-1 and 53-2, 53-3 and 53-4, 53-5 and 53-6, and 53-7 and 53-8, the data recording surface 53-9 cannot be used for writing and reading data and remains unused.

[0019] On the above-mentioned occasion, assuming that a track on the data recording surface 53-6 on a cylinder 57 is a defective track 56. Since the two-bit parallel recording simultaneously writes and reads on and from two data recording surfaces, if a defective track exists on either of two recording surfaces and read and write operations are impossible thereon, read and write operations cannot be performed on a track on the nondefective recording surface.

[0020] In the case of FIG. 23, since a track on the data recording surface 53-6 is the defective track 56, even if a track on the data recording surface 53-5 is normal, the data recording surface 53-5 cannot be used. On such an occasion, a combination of two tracks, one of which is defective should be replaced or reassigned by a previously prepared combination of two spare tracks on a spare cylinder 61, as shown in FIG. 23.

[0021] Although there are two non-defective tracks (the data recording surfaces 53-5 and 53-9) on the same cylinders, since the combination of recording surfaces is fixed, the above free tracks (the data recording surfaces 53-5 and 53-9) cannot be combined, and previously combined two tracks determined as spare tracks should be used, which results in an extremely low efficiency and a cause of decrease in the storage capacity.

[0022] In this example, the two-bit parallel recording has been explained. If the number of bits constituting a parallel data train is increased (for example an eight-bit parallel recording), this tendency is further worsened. Specifically, in the eight-bit parallel recording, if one of eight tracks for storing data is defective, the remaining seven tracks cannot be used for writing and reading data.

[0023] Furthermore, in spite that the parallel recording is employed for a high speed data transfer, a defective track, if exists, requires a seek operation for reassigning a spare track, whereby the above-mentioned high speed transfer may not be achieved. In the above explanation, the parallel recording has been assumed to be performed in track units, and the same result is derived if it is performed in sector units as shown in FIG. 24. To be specific, a spare sector area 59 used in place of a defective sector should be prepared in each track, and a reassignment requires a rotation delay for rotating the disc from a defective sector 58 to the spare sector area 59.

[0024] The above explanation has been made on assumption that there is at most one defective track in a single cylinder. Practically, it is require rarely that two or more defective tracks exist in a single cylinder.

[0025] Further, data transfer and reception between the disc control unit 5 and the encoder/decoder circuit 9, as shown in FIG. 17, are performed by two-bit parallel data to be read and written. For this reason, a disc control LSI employed in the disc control unit 5 is provided for each of serial data interfaces for read and write, wherein each data is treated as serial data.

[0026] Therefore, if a disc control is to be fulfilled by a single LSI, data between the disc control LSI and the encoder/decoder circuit 9 should be serial data, whereby a data transfer speed cannot be sufficiently increased.

[0027] On the other hand, if a plurality of disc control LSI are employed, a processing performed by a microprocessor for controlling the disc control LSIs is excessive, which results in a large size of hardware, a difficulty in reducing a size and providing a larger storage capacity, and an increase in a cost.

SUMMARY OF THE INVENTION

[0028] It is an object of the present invention to provide a magnetic disc control apparatus which is adapted to arrange data to a plurality of data trains so as to prevent a decrease in a storage capacity due to a defective track or sector which is extremely important for parallelly writing respective data trains on a plurality of recording surfaces of a magnetic disc.

[0029] It is another object of the present invention to provide a magnetic disc control apparatus capable of preventing a drop in a data transfer speed by suppressing to zero a time period required to replace a defective track or sector with a spare track or a spare sector.

[0030] It is a further object of the present invention to provide an LSI for magnetic disc apparatus capable of parallelly transferring write and read data to and from a magnetic disc apparatus and accordingly increasing a data transfer speed.

[0031] It is a yet further object of the present invention to provide a information processing system employing a single LSI for magnetic disc apparatus capable of parallelly transferring data.

[0032] A first feature of the present invention is to provide a selection unit for an n-bit parallel write and read type magnetic disc apparatus wherein data is written on or read from n disc-shaped recording surfaces corresponding to n heads, wherein if a defective track or a defective sector exists in any of the n disc-shaped recording surfaces, one is selected from the remaining nine disc-shaped recording surfaces except for the one having the defective track or sector, a track or a sector on the selected recording surface is employed as a spare track or a spare sector, and a head corresponding to this spare track or spare sector is selected to write and read data on and from the spare track or the spare sector.

[0033] In the magnetic disc apparatus provided with the selection unit as mentioned above, the spare track or the sector belongs to the same cylinder as a normal track or sector on one of the remaining disc-shaped recording surfaces with which a combination is made.

[0034] When the data control unit receives m-bit parallel data to be written from an information processing apparatus, the data is divided into n data trains each comprising (m/n) bits. The data trains are parallelto-serial converted and encoded. Thereafter, the n data trains are assigned to n heads selected from a plurality of heads, parallelly written on n disc-shaped recording surfaces corresponding to the n heads.

[0035] On the other hand, n data trains are parallelly read from n disc-shaped recording surfaces corresponding to n heads. The respective data trains are decoded, serial-to-parallel converted, and then integrated to m-bit parallel data and outputted.

[0036] Reference letters m, n respectively represent an integer, wherein n≦m is satisfied.

[0037] In the event of writing or reading data on or from n disc-shaped recording surfaces corresponding to n heads, if a defective track or a defective sector exists, one recording surface is selected by the selection unit from the remaining recording surfaces except for the one having the defective track or the sector area, and data is written or read on or from a corresponding spare track or spare sector by a corresponding head.

[0038] A second feature of the present invention lies in that an even number of the plurality of disc-shaped recording surfaces are provided, and the above-mentioned value n is also selected to be even, wherein one of the even number of disc-shaped recording surfaces is employed as a servo surface on which servo information for controlling a positioning of the heads on the disc-shaped recording discs is written. Then, within an odd number of the remaining disc-shaped recording surfaces, one which is left unnumbered, when they are assigned to the above-mentioned even number n, is employed as a spare disc-shaped recording surface including a spare track or sector used in place of a defective track or a defective sector. Such a spare disc-shaped recording surface including the spare track or sector belongs to the same cylinder as the other remaining disc-shaped recording surfaces to thereby suppress to zero a time period required to reassign the spare track or sector.

[0039] A third feature of the present invention is to provide an LSI for magnetic disc apparatus comprising a host interface unit for adjusting data inputted to and outputted from an information processing apparatus, a disc interface unit for parallelly inputting and outputting data to and from a magnetic storage apparatus and means for controlling a data transfer between both interfaces.

[0040] Also, the present invention provides an LSI for magnetic disc apparatus comprising a host interface unit for adjusting parallel data inputted to and outputted from an information processing apparatus, a disc interface unit for parallelly inputting and outputting data to and from a magnetic storage apparatus, means for controlling a parallel data transfer between both interfaces, means for generating a code for detecting errors in transferred data for each parallel data, converting the same to parallel data having the same number of bits as the transferred parallel data and adding the converted code to the parallel data transferred from the host interface unit to the disc interface unit, and means for detecting errors in the transferred data from the code for detecting errors in the transferred data added to the parallel data transferred from the disc interface unit to the host interface unit.

[0041] A fourth feature of the present invention is to provide an information processing system comprising a buffer memory for holding parallel data, an encoder/decoder unit coupled to the buffer memory through an LSI for magnetic disc apparatus for encoding parallel data trains to be written on recording surfaces of a disc to recording codes, and reading recording codes and decoding the same to parallel data trains, and a head circuit coupled to the encoder/decoder unit corresponding to a plurality of heads for controlling the respective heads to read and write data trains.

[0042] As mentioned above, a data line between the LSI for magnetic disc apparatus and the encoder/decoder unit is made parallel. If the LSI includes therein even one circuit which serially processes data, data lines connecting such internal circuits are also made parallel so as to eliminate causes which may damage a high speed operation.

[0043] Thus, data is inputted and outputted to and from the magnetic storage apparatus in a parallel form by the disc interface unit. A data transfer between the host interface unit and the disc interface unit is also performed parallelly.

[0044] Parallel data transferred between the host interface unit and the disc interface unit is subjected to a error detection. To be more specific, a code for detecting errors in transferred data is generated as parallel data (not converted to serial data), converted to parallel data having the same number of bits as the transferred parallel data and added to the parallel data transferred from the host interface unit to the disc interface unit. Thus, data errors in transferred data are detected by the code for detecting errors in transferred data added to the parallel data transferred from the disc interface unit to the host interface unit. If data error is present, the error is corrected.

BRIEF DESCRIPTION OF THE DRAWINGS

[0045]FIG. 1 is a block diagram showing a magnetic disc apparatus of a first embodiment according to the present invention;

[0046]FIG. 2 is a block diagram showing a detailed structure of a recording and reproducing unit in FIG. 1 in a data write operation;

[0047]FIG. 3 is a block diagram showing a detailed structure of the recording and reproducing unit in FIG. 1 in a data read operation;

[0048]FIG. 4 is an explanatory diagram showing an example of a data format in a parallel recording type magnetic disc apparatus;

[0049] FIGS. 5 to 7 are explanatory diagrams showing how a data train is processed;

[0050]FIG. 8 is a block diagram showing a disc control unit in FIG. 1 in detail;

[0051]FIGS. 9 and 10 are explanatory diagram showing how a spare track is selected in place of a defective track on a data recording surface;

[0052]FIG. 11 is an explanatory diagram showing how a spare sector is selected in place of a defective spare on a data recording surface;

[0053]FIG. 12 is a block diagram showing a magnetic disc apparatus of a second embodiment of the present invention;

[0054]FIG. 13 is a block diagram showing a structure of a disc control LSI.

[0055]FIG. 14 is a block diagram showing a structure of a conventional disc control LSI;

[0056]FIG. 15 is a block diagram showing a detailed structure of a format control unit in FIG. 13;

[0057]FIG. 16 is a block diagram showing a detailed structure of a drive interface in FIG. 15;

[0058]FIG. 17 is a block diagram showing a structure of a conventional serial recording type magnetic disc apparatus;

[0059]FIG. 18 is a block diagram showing a disc control unit in FIG. 1 in detail;

[0060]FIG. 19 is a block diagram showing a structure of a conventional parallel recording type magnetic disc apparatus;

[0061]FIG. 20 is a lateral view showing a structure of a magnetic disc apparatus;

[0062]FIG. 21 is a block diagram showing in detail a recording and reproducing unit in FIG. 19 in a data write operation;

[0063]FIG. 22 is a block diagram showing in detail the recording and reproducing unit in FIG. 19 in a data read operation; and

[0064]FIG. 23 is an explanatory diagram showing how a spare track or a spare sector is selected in place of a defective track or a defective sector on a data recording surface.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0065] Embodiments of the present invention will hereinafter be explained based on the accompanying drawings.

[0066]FIG. 1 is a block diagram showing an internal structure of a magnetic disc apparatus of a first embodiment of the present invention.

[0067] As shown in this drawing, a magnetic disc apparatus 2 comprises a host interface control unit 3, a disc control unit 5, a microprocessor 6, a buffer memory 4, a data arrangement unit 7 a and a recording and reproducing unit 8.

[0068] The recording and reproducing unit 8 comprises an encoder/decoder circuit 9, a head selection circuit 10 and a head circuit 11. FIG. 2 shows a structure of the recording and reproducing unit 8 in a data write operation. The encoder/decoder circuit 9 comprises a write clock generating circuit 15 and encoder circuits 16 (1 to n).

[0069]FIG. 3 shows a structure of the recording and reproducing unit 8 in FIG. 1 in a data read operation, wherein the encoder/decoder circuit 9 comprises a phase synchronizing circuit 21, decoder circuits 22 (1 to n) and waveform shaper circuits 23 (1 to n).

[0070] The head circuit 11 upon writing and reading data are formed of head amplifiers 17 (1 to n), decoder circuits 22 (1 to n) and waveform shaper circuits 23 (1 to n).

[0071] The parallel recording type magnetic disc apparatus according to the present invention divides data in each sector into n data and simultaneously writes and reads the respective divided data on and from n data recording surfaces. The n recording surfaces for storing the n divided data are selected by the head selection circuit 10, wherein a head selection signal generated from the microprocessor 6 is used for selecting the heads 18 (1 to n). The head selection signal 12 is the same as head information in ID information (shown in FIG. 4) of each sector which is calculated by the microprocessor 6.

[0072] Next, before explaining a circuit structure and operation of the disc control unit 5, an example of a data format (a two-bit parallel recording, where one sector is composed of 512 bits) for the parallel recording type magnetic disc apparatus is explained on the basis of FIG. 4.

[0073] In FIG. 4, parallel data are only DATA 49 and ECC (an error detecting and correcting bit) 50, however, ID 41 and CRC (an error detecting bit) 46 can be also made parallel. Nevertheless, if PLO.SYNC 39, BSP (a byte seek pattern) 40 of an ID field and BSP 48 of a DATA field are divided and parallelly written, since they are signals used for a synchronization when data is read by the recording and reproducing unit 8 shown in FIG. 1, it is impossible to read them. For this reason, it is necessary to independently store such information in respective sectors 37-1 and 37-2 constituting a sector 37.

[0074] It is therefore necessary to provide different processing for the data to be divided (DATA 49, ECC 50 and so on) and the data which should not be divided in a data transfer between the disc control unit 5 and the division unit 7.

[0075] Assuming that eight-bit parallel data is divided into two as shown in FIG. 5, an eight-bit parallel data train 30 delivered as it is from the disc control unit 5 to the data arrangement unit 7 a in one cycle. Then, it is arranged directionally to two by the data arrangement unit 7 a, and respective divided data trains 31 are two parallel data trains 32.

[0076] However, if the above-mentioned data not to be divided is delivered as two directionally arranged equivalent data trains, a time period required for an eight-bit data train 36 is necessary for the non-divided data, whereas a time period for a four-bit data train 32 (FIG. 5) is necessary for the arranged data, whereby a data transfer cycle of the arranged data train between the disc control unit 5 and the data arrangement unit 7 a is different from that of the non-divided data.

[0077] To avoid such inconvenience, the non-divided data train 30 are divided into upper and lower four-byte data trains which are respectively repeated to form two four-bit data trains (one byte) 33 and two four-bit data trains (one byte) 33, whereby the data train 30 is delivered as a totally two-byte data train 33 in two cycles, as shown in FIG. 7.

[0078] For controlling a transfer of such a parallel data train, the disc control unit 5 is provided with a parallel control unit 26 as shown in FIG. 8. It should be noted that, when data is read, the transfer direction is opposite to that in the data write operation.

[0079] When the ID 41 of each sector which is written without being divided is read, two equivalent IDs 41 are read, whereby even if either of the IDs 41 becomes defective and data cannot be read therefrom, it is possible to read the data from the other normal ID 41, which results in improving a reliability of the apparatus.

[0080] Next, operations of a disc format, data write and data read will be explained base on the structure of a magnetic storage apparatus shown in FIG. 20. This magnetic storage apparatus has five discs 51. Since this apparatus employs the dedicated servo system, one of the ten data recording surfaces serves as a servo surface, another one of them is reserved for a spare track or a spare sector, and the remaining eight surfaces are used for ordinary data train write and read operations. Ten heads 18 respectively correspond to the ten recording surfaces and are operated by actuators.

[0081] This non-divided ID 41 is also read by the operation of the parallel control unit 26 in the disc control unit 5. A number of data trains when the non-divided ID 41 is read by the parallel control unit 26 is indicated by a parallel transfer control signal 13 generated by the microprocessor 6.

[0082] Data is all treated as being parallel in the disc control unit 5 shown in FIG. 8. It is requested to see FIG. 18 showing the disc control unit 5 of the foregoing magnetic disc apparatus (a conventional type) for the sake of comparison.

[0083] A sector formed on a track of a data recording surface is divided into two data trains which are simultaneously written on two data recording surfaces in a two-bit parallel method, and the written data trains are read therefrom.

[0084] (1) Disc Format

[0085] As previously explained, in FIG. 4 showing an example of a format (one sector is composed of 512 bytes) for the two-bit parallel recording, parallel data are merely the DATA 49 and the ECC 50, as mentioned above. It is however possible to arrange the ID 41 and the CRC 46 in a parallel form.

[0086] Nevertheless, it is desirable to write these data without being divided for improving the reliability of the apparatus. Specifically, by writing two equivalent ID fields in two data trains, even if either of the two equivalent ID fields cannot be read due to a defect in data write and read operations which require to read the ID field, the other ID field can be read, and therefore data can be written and read in and from the sector.

[0087] Further, since PLO.SYNC 39, BSP 40 of the ID field, and BSP 48 of the DATA field are used for a synchronization when data is read by the recording and reproducing unit 8, as shown in FIG. 1, they cannot be divided into two data trains and written.

[0088] For this reason, it is necessary to independently store such information in respective sectors 37-1 and 37-2 constituting a sector 37. To fulfill a format, as shown in FIG. 4, composed of data (DATA 49, ECC 50 and so on) to be divided and data not to be divided (PLO.SYNC 39, BSP 40 of the ID filed and BSP 48 of the DATA field), the parallel control unit 26 (FIG. 8) performs a control such that the data to be divided is transferred as shown in FIG. 5 and the data not to be divided as shown in FIG. 7.

[0089] Next, a method of selecting two data recording surfaces for storing respective sectors at disc format will be explained.

[0090] As shown in FIG. 1, the microprocessor 6 calculates ID information of each sector from a sector number (n1, n2), delivers the calculated value to the disc control unit 5 for writing the same in the ID 41 and also delivers head information in the ID 41 to the head selection circuit 10 as the head selection signal 12.

[0091] The head information in this embodiment refers to numbers of heads corresponding to two data recording surfaces on which the sector (n1, n2) are stored. When the head selection circuit 10 receives the head selection signal 12 representing the head information, it selects head numbers of the two data recording surfaces and actuates two of the corresponding heads 18. Thus, the respective sectors (n1, n2) are stored on the two data recording surfaces identical to the head information in the ID field 41.

[0092] The microprocessor 6, when a power supply for the whole system is turned on, generates a table including information on tracks and sectors on the basis of positional information on all defective tracks and sectors on the recording surfaces, the information being read from the data recording surfaces of the magnetic storage apparatus. Thus, the microprocessor 6 can previously recognize whether or not a defect exists in a position at which data is to be stored by searching for information on defective positions in the ID field 41 in the table generated by the microprocessor 6. If a defect exists on one of the two recording surfaces for storing the sectors, the microprocessor 6 delivers a defect signal (not shown) to both the disc control unit 5 and the head selection circuit 10.

[0093] When the disc control unit 5 receives the defect signal, it writes the defect information in a flag byte 45 when writing the ID information. Also, when the head selection circuit 10 receives the defect signal, it selects a head number of a previously prepared spare recording surface in place of a head number of the data recording surface including a defect.

[0094] Next, a structure of data trains on a recording surface selected by the above-mentioned operation will be explained with reference to FIGS. 9, 10 and 11. FIG. 9 shows tracks on data recording surfaces 53-1 to 53-9 on a cylinder 55 on which no defect exists. In this embodiment, the recording surfaces for the two-bit parallel recording are made by combinations of the data recording surfaces 53-1 and 53-2, 53-3 and 53-4, 53-5 and 53-6, and 53-7 and 53-8, and the data recording surface 53-9 is employed as a spare recording surface. However, if the microprocessor 6 utilizes a different calculation method for ID information, combinations other than the above-mentioned ones are naturally possible.

[0095] In the above combinations of the data recording surfaces 53, if a track on the data recording surface 53-6 on the cylinder 57 is a defective track 56 as shown in FIG. 10, since the microprocessor 6 previously recognizes that this track is defective, the head 18 on the spare data recording surface 53-9 is used in place of the defective data recording surface 53-6 to be combined with the head 18 of the normal data recording surface 53-5 for formatting. A combination of the heads 18 can be readily made by changing combinations of a switching mechanism coupled to the respective heads 18 by a known technique.

[0096]FIGS. 9 and 10 show a case where the spare recording surface is used in the track unit. The spare recording surface can be likewise used in the sector unit, which is shown in FIG. 11. FIG. 11 shows a format of a combination of the heads 18 of the data recording surface 53-5 with the head 18 of the spare data recording surface 53-9, which has been made since one of sectors on the data recording surface 53-6 combined with a sector 62-1 of the data recording surface 53-5 is defective. Sectors 62-1, 62-2 indicate respective two sectors divided from an ordinary sector. Basically, the sector should be divided into two 62-1, 62-2 and stored on the data recording surfaces 53-5, 53-6. However, since the data recording surface 53-6 includes the defective sector 58, the sector 62-2 is stored on a spare sector 59 on the data recording surface 53-9 in place of the defective recording surface 53-6 by the microprocessor 6 which has recognized the existence of the defective sector 58. Thus, if a defective sector exists, the format is made in the above-mentioned manner.

[0097] However, the above explanation has been made on the assumption that defects existing on tracks in the same cylinder are all replaced with sectors belonging to the spare recording surface. Actually, it is quite rarely that a plurality of defects exist on a single cylinder.

[0098] (2) Data Write Operation

[0099] A data write operation will hereinafter be explained.

[0100] Referring again to FIG. 1, when a data write command is delivered from the host computer 1 to the host interface control unit 3, the magnetic disc apparatus 2, in response to this command, positions the magnetic head 18 to a cylinder on which a target sector exists.

[0101] The microprocessor 6 calculates concerned ID information from sector numbers of all the data recording surfaces 53 of the magnetic storage apparatus, delivers the calculated values of the disc control unit 5, and delivers head information included in the IF information to the head selection circuit 10 as the head selection signal 12 to operate the head 18 to read the ID field 41 shown in FIG. 4.

[0102] In this event, even if a defect exist at a position indicated by the ID information calculated by the microprocessor 6, since the microprocessor has previously recognized the existence of the defect, it is possible to reassign to the head 18 on the spare recording surface before reading the ID field 41. Therefore, this reassignment operation does not require any time period.

[0103] The two fully identical ID information are converted to synchronized NRZ signals 19 (1 and 2) by the encoder/decoder circuit 9 (here n=2) shown in FIG. 3, delivered to the data arrangement unit 7 a shown in FIG. 7, and then supplied to the disc control unit 5 as parallel data.

[0104] As mentioned above, even if either of the two ID 41 cannot be read, it is possible to recognize the ID by reading the other correct ID 41. If the read ID information is confirmed to be that of the concerned sector, data to be written delivered from the host computer 1 is supplied from the disc control unit 5 to the data arrangement unit 7a through the buffer memory 4 as shown in FIG. 5. In the data arrangement 7 a, the data is arranged to two data trains and encoded by the identical write clock 20 by the encoder/decoder circuit 9 shown in FIG. 2. Then, the two data trains are written on the data recording surface 53 by the use of two of the heads 18 selected by the head selection circuit 10.

[0105] The ECC 50 shown in FIG. 4 is generated by the ECC unit 28 shown in FIG. 8 and added behind the DATA 49.

[0106] (3) Data Read Operation

[0107] In a data read operation, two fully identical ID 41 are read by two corresponding heads operated by the ID information in the same procedure as the data write operation. If the read ID 41 is confirmed to be that of the concerned sector, data is read by the two corresponding heads 18, and the two data trains are decoded to the synchronized two-bit parallel NRZ signals 19 by the encoder/decoder circuit 9 shown in FIG. 3.

[0108] The division unit 7 receives these data trains and converts the same to an eight-bit parallel data train which in turn is delivered to the disc control unit 5.

[0109] The disc control unit 5 shown in FIG. 8 receives the data train, and an error detection is performed for the data train by the ECC unit 28. If an error is detected, the microprocessor 6 corrects the error based on error information from the ECC unit 28. If no error is detected, the data train is transferred to the buffer memory, and further transferred to the host computer 1 through the host interface control unit 3.

[0110] As described above, in a parallel recording type magnetic disc apparatus which divides a sector into n data trains and simultaneously writes and reads these divided respective data trains on and from n data recording surfaces, a plurality of recording surfaces for storing the divided data trains thereon can be selected by a microprocessor. Even if a defect exists on either one of the recording surfaces on which data cannot be stored, the data can be stored on a track or sector on a spare recording surface prepared on the same cylinder, thereby making it possible to effectively prevent a decrease in a storing capacity due to defective tracks or sectors which is remarkably important for a parallel recording.

[0111] The spare track and the spare sector are provided on the same cylinder as a defective track or a defective sector, and also a microprocessor built in the apparatus has previously recognized a defective area and reassigns to a track or a sector on the spare recording surface, so that it is possible to prevent a drop in a data transfer speed due to a reassignment operation.

[0112] The spare track or the spare sector formed on the spare recording surface are positioned on the same cylinder as a normal track or sector with which a pair is formed, however, the spare track or the spare sector may be formed on a different cylinder. In the latter case, a high speed data transfer is not considered to be an object to be achieved, and this formation is used for an emergency data save, backup, or the like.

[0113] Also, in the present embodiment, a coupling of a spare recording surface used in place of a recording surface including a defective track or a defective sector are made so as to form a pair with the two data recording surfaces, however, it is also possible to couple two or more normal data recording surfaces with a spare data recording surface.

[0114] Next, a magnetic disc apparatus of a second embodiment of the present invention will be explained.

[0115]FIG. 12 shows a structure of a magnetic disc apparatus according to the present embodiment. Since the magnetic disc apparatus 2 shown in FIG. 12 includes the same structure as the magnetic disc apparatus 2 shown in FIG. 1, the same parts are designated the same reference numerals and a detailed explanation thereof will be omitted.

[0116] The magnetic disc apparatus 2 is provided with an encoder/decoder circuit 9 for encoding codes to be stored and decoding stored codes and a head circuit 11 for writing and reading data on and from a magnetic disc. The head circuit 11 is correspondingly connected with magnetic heads, each of which parallelly accesses a magnetic disc.

[0117] The magnetic disc apparatus 2 is also provided with a host interface control unit 2 for operating an interface with a host computer 1, an LSI 5 a for a disc control, later referred to, a buffer memory 4 for holding data transferred to and received from the host computer 1 and a microprocessor 6 for managing a control of the whole system.

[0118] In an ordinary data write operation, the encoder/decoder circuit 9 and the head circuit 11 parallelly record parallel data received from the disc control LSI 5 a on a plurality of sectors 37-1, 37-2 on a formatted disc.

[0119] In this event, it is necessary, in general, to encode data to be recorded on a disc to recording codes. However, in the present embodiment, the encoder/decoder 9 receives parallel data as it is from the disc control LSI 5 a and encodes the same in parallel (there are actually known many recording codes, such as 2-7RLL code, 1-7RLL code or the like, which can be converted to a parallel form by a simpler circuit arrangement). Also, recorded codes read from a disc is decoded by the encoder/decoder circuit 9.

[0120] The encoder/decoder circuit 9 may comprise the same number of encoder/decoder circuits as that of output data lines of the disc control LSI 5 a.

[0121] As mentioned above, the magnetic disc apparatus 2 according to the present invention parallelly stores data on magnetic discs, wherein the encoder/decoder circuit 9 is connected to the disc control LSI 5 a through a bus a for parallelly receiving and delivering data.

[0122] Internal Structure of Disc Control LSI Next, the disc control LSI 5 a according to the present embodiment will be explained on the basis of FIG. 13.

[0123] The disc control LSI 5 a is composed of a CPU interface unit 100, a buffer control unit 101, a host interface unit 102, a drive interface unit 103, a format control unit 104 and an ECC unit 105.

[0124] The CPU interface unit 102, which serves as an interface between the external microprocessor 6 and the LSI 5 a, controls a transfer of data and address between the microprocessor 6 and the LSI 5 a.

[0125] The buffer control unit 101 is adapted to control the buffer memory 4 provided for offsetting the difference in a data transfer speed between a magnetic storage apparatus (not shown) and the host computer 1. Data transfer operations between the magnetic storage apparatus and the host computer 1 are all performed through this buffer memory 4.

[0126] The host interface control unit 102 is adapted to control a data transfer between the disc control LSI 5 a and the host interface control circuit 2, and handle signals between the host interface control circuit 2 and the disc control LSI 5 a.

[0127] The ECC unit 105 is adapted to generate and decode an error correcting code for correcting data errors produced due to a noise, a defect on a recording medium, or the like when data delivered from the host computer 1 is written in the magnetic storage apparatus. Conventionally, a fire code has been generally employed for an error correcting code for hard disc drive units. However, if a decoder circuit is implemented by hard logic, the fire code requires that data be in a serial form, so that data may not remain parallel. For this reason, the present invention employs a Reed-Solomon code as described, for example, in Official Gazette of Laid-open Japanese Patent No. 91418/1988 or the like, to permit a parallel data processing.

[0128] The drive control unit 103 is adapted to control a transfer between the disc control LSI 5 a and the encoder/decoder circuit 9 and comprises a format control unit 105.

[0129] The format control unit 104 is provided for controlling a format for writing sector management information necessary for writing and reading data and a synchronizing signal and so on used by the head circuit when data is read. A disc apparatus, when used for the first time, needs to be formatted. When data delivered from the host computer 1 is written into the magnetic storage apparatus, it is necessary to add an error correcting code 50 generated by the ECC unit 105 and other information in a data area to a data train 49 before writing. This addition of information is also performed by the format control unit 104.

[0130] Next, a feature of the structure of the disc control LSI of the present embodiment will be described in comparison with a conventional disc control LSI which serially stores data.

[0131]FIG. 14 shows a structure of a conventional disc control LSI 5 b. As shown in the drawing, data in a CPU interface 100 and a buffer control unit 101 has been handled in a parallel form. However, an ECC unit 105 is constructed so as to handle serial data. Therefore, data is once converted to a serial form by the ECC unit 105, an error correcting code is generated therefor, and then the serial data with the error correcting code is delivered to a drive control unit 103.

[0132] On the other hand, the disc control LSI 5 a according to the present embodiment shown in FIG. 13 employs the aforementioned Reed-Solomon code in the ECC unit 105 so as to handle parallel data as it is.

[0133] The drive control unit 103 is also constructed to handle parallel data to allow the whole LSI 5 a to operate parallel data.

[0134] Even if the ECC unit 105 is constructed as before and the drive control unit 103 is provided with a parallel-to-serial converter to output parallel data therefrom, a data processing speed can be improved to some extent. As to a transfer within the LSI 5 a, a serial transfer also provides a high speed data transfer to some degree by increasing a transfer speed, whereas, it is difficult for a serial data transfer to increase a speed for transferring data to the outside of the LSI 5 a.Specifically, it is highly possible that an effective data processing speed of the whole system may be determined by a data transfer speed to the outside of the LSI 5 a. For this reason, a parallel data transfer to the outside of the LSI 5 a leads to increase an overall data processing speed.

[0135] Next, an internal structure of the format control unit 104 will be explained.

[0136]FIG. 15 shows a structure of the format control unit 104.

[0137] In the drawing, reference numeral 106 designates a train for decoding instructions from the microprocessor 6 (see FIG. 12) and control respective units, 107 a register for storing Gap 38 (see FIG. 4) for format, a variety of synchronizing patterns and so on, 108 a drive interface unit for performing a parallel-to-serial conversion and an output operation of data, and 109 an interface among the LSI 5 a, the sequencer 106 and the drive interface unit 108.

[0138]FIG. 16 shows a structure of the drive interface unit 108. In the drawing, reference numerals 110 a, 110 b designate registers for storing data to be written, 111 a selector for performing a parallel-to-serial data conversion for data to be written, and 112 buffer for outputting data selected by the selector 111.

[0139] Next, a formatting operation performed by the format control unit 104 will be explained.

[0140] First, the microprocessor 6 instructs the train 106 of storing Gap 38 for formatting, addresses, a variety of synchronizing patterns and so on in the register 107. The microprocessor next instructs the sequencer 106 of executing a formatting.

[0141] The sequencer 106, upon receiving this instruction, transfers the above-mentioned Gap 38, addresses, various synchronizing patterns and so on from the register 10 to the drive interface unit 108.

[0142] The drive interface unit 108 outputs these data to the magnetic storage apparatus. In this event, it is necessary to add Gap 38 and the various synchronizing patterns to respective sectors, so that each bit of inputted data is sequentially selected and outputted by a bit selection performed by the selector 111 to thereby convert the data from the register 10 in a serial form and output this serial data.

[0143] By the above-mentioned operations, Gap 38 and the various synchronizing patterns can be added to respective sectors. Ordinary stored data can be stored in a parallel form by outputting the same without a parallel-to-serial conversion.

[0144] In place of a parallel-to-serial conversion, the microprocessor 6 may previously store a plurality of data in the register 107 such that a train of bits in respective digits constitutes desired data.

[0145] Next, the ordinary operation of the magnetic disc apparatus 2 will be explained.

[0146] Data Write Operation

[0147] The host computer 1 delivers a write command to the host interface control circuit 2 through a SCSI interface (Small Computer System Interface) or the like.

[0148] The head circuit 11 receives the command through the host interface control circuit 2, the disc control LSI 5 a and the encoder/decoder circuit 9 and positions the magnetic head 18 on a target sector in accordance with the command.

[0149] Then, the host computer 1 delivers data to be stored. The data is assumed to be parallel data having a one-byte length. The data to be stored is transferred from the host interface control circuit 2 to the buffer memory 4 and further to the disc control LSI 5 a by the buffer control unit 101 of the disc control LSI 5 a.

[0150] The ECC unit 105 arranged in the disc control LSI 5 a adds a Reed-Solomon code or an error correcting code to this data and transfers the data including the error correcting code to the encoder/decoder circuit 9 as one-byte parallel data.

[0151] The encoder/decoder circuit 9 converts the parallel data to a recording code such as a 1-7 code or the like and writes each bit of the data on sectors 37-1, 37-2 on a disc corresponding to addresses specified by the write command by a head circuit 11 having a plurality of head assemblies.

[0152] Data Read Operation

[0153] The host computer 1 delivers a read command to the host interface control circuit 2 through a SCSI interface or the like. The head circuit 11 receives this command through the host interface unit 2 and positions the magnetic heads 18 to sectors 37-1, 37-2 corresponding to data addresses specified by the command.

[0154] Then, data is simultaneously read from the plurality of sectors 37-1, 37-2 by the head circuit 11 respectively corresponding to these magnetic heads 18. A data skew between the respective head circuits 11 is compensated for by the encoder/decoder circuit 9, and then the read data is decoded to a parallel NRZ signal. The disc control LSI 5 a receives this parallel data, and an error detection is performed by the ECC unit 105. If errors are found, they are corrected by the microprocessor 6 on the basis of error information from the ECC unit 105. If there is no error, the data is transferred to the buffer memory 4 and further to the host computer 1 through the host interface control circuit 2.

[0155] As described above, according to the present embodiment, it is possible to form parallel data paths in the whole magnetic disc control apparatus, which results in increasing a data transfer speed by the number of parallel data lines of the bus, in principle, compared with a conventional disc control apparatus which includes serial data paths.

[0156] Further, according to the present embodiment, only one of the disc control LSI 5 a is required, which is advantageous in that a low cost and a small mounting area occupied by the LSI 5 a. Also, the microprocessor 6 does not have to execute a complicated processing.

[0157] In the above embodiment, a parallel data transfer information processing system is fulfilled by coupling the magnetic disc apparatus 2 and the host computer 1.

[0158] It should be noted that the disc control LSI 5 a may be used for an optical or magneto-optical disc apparatus, in addition to the magnetic disc apparatus 2, to fulfill an information processing system for increasing a data transfer speed.

[0159] As described above, it is possible to increase a data transfer speed of a magnetic disc apparatus merely by employing a single disc control LSI.

[0160] It is also possible to provide an information processing system employing a disc apparatus which can increase a data transfer speed. 

What is claimed is:
 1. In an information processing system wherein a magnetic storage apparatus comprising a plurality of discs having recording surfaces and heads for parallelly reading and writing data from and on a pair of tracks or sectors on said respective recording surfaces is connected to an information processing apparatus for processing data, a magnetic disc control apparatus comprising: a data control unit coupled to said information processing apparatus for dividing m-bit parallel data from said information processing apparatus into n data trains corresponding to the number of said heads, and oppositely, integrating n data trains from said magnetic storage apparatus to a m-bit parallel data; an encoder/decoder unit coupled to said data control unit for encoding said n respective data trains from said data control unit and transmitting said encoded n data trains to said heads or decoding n respective data trains from said n heads; and a selection unit coupled between said encoding/decoding unit and said heads, for selecting a normal track or sector from tracks or sectors corresponding to said plurality of heads, and coupling the normal track or sector with a spare track or a spare sector when data is read from or written on tracks or sectors on said n recording surfaces by said n heads, said spare track or said spare sector being previously provided for use in place of a defective track or a defective sector on said n recording surfaces. 